package com.dd.stack.sql.optimize.DO;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 患者基本信息表
 * </p>
 *
 * @author liuxianmeng
 * @since 2025-08-12
 */
@Getter
@Setter
@TableName("patient")
public class Patient implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 患者ID，主键
     */
    @TableId(value = "pati_id", type = IdType.AUTO)
    private Long patiId;

    /**
     * 患者姓名
     */
    private String patiName;

    /**
     * 性别（M/F）
     */
    private String patiGender;

    /**
     * 出生日期
     */
    private LocalDate patiBirthDate;

    /**
     * 联系电话
     */
    private String patiPhone;

    /**
     * 建档时间
     */
    private LocalDateTime createTime;
}
